package com.springboot.biz;

import java.util.List;
import java.util.Map;

import com.springboot.entity.Pipe;
import com.springboot.entity.Project;
import com.springboot.entity.User;
import org.apache.ibatis.annotations.Param;

public interface PipeBiz {

	void insertPipe(Pipe pipe);

	void updatePipe(Pipe pipe);

	void deletePipe(Pipe pipe);

	void combinPipe(int id, List<?> list);

	Pipe findInfoPipe(int id, User user);

	Pipe findInfoPipe(Map<String, Object> map);

	List<Pipe> findListPipe(Project project);

	List<Pipe> findListPipe(Map<String, Object> map);

	void sortPipe(int id);

	int getCount(Map<String, Object> map);

	void check(Pipe cust, Pipe pipe);

	int appendPipe(Pipe pipe);

}
